From ddd113ac984db56c3297ff80dfd3f259594ac038 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 6 May 2020 19:28:33 +0100 Subject: [PATCH] Annotate gdk_motion_event_get_history() correctly We moved from returning a list to returning a C array, and this requires a change in the annotations. --- gdk/gdkevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index f1cae55a4f..d514e64b04 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -2827,8 +2827,8 @@ gdk_motion_event_new (GdkSurface *surface, * Retrieves the history of the @event motion, as a list of time and * coordinates. * - * Returns: (transfer container) (element-type GdkTimeCoord) (nullable): a list - * of time and coordinates + * Returns: (transfer container) (array length=out_n_coords) (nullable): an + * array of time and coordinates */ GdkTimeCoord * gdk_motion_event_get_history (GdkEvent *event, -- 2.30.2